package com.formiaomiao.demain.service;

import com.formiaomiao.demain.model.DemainBean;
import com.formiaomiao.demain.model.Result;

public interface DemainService {
    //查询列表
    Result<DemainBean> SelectDemain(Integer id, Integer fromid, int pageNum, int pageSize);
    //添加动态
    Result<String> InsertDemain(DemainBean bean);
    //删除动态
    Result<String> DeleteDemain(DemainBean bean);
    //查询全部列表
    Result<DemainBean> SelectAllDemain(Integer id, int pageNum, int pageSize);
}
